package com.hospital.common.core.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author lvyao
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DRUG_PRESC_DETAIL")
public class DrugPrescDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("PRESC_DATE")
    private Date prescDate;

    @TableField("PRESC_NO")
    private Integer prescNo;

    @TableField("ITEM_NO")
    private Integer itemNo;

    @TableField("DRUG_CODE")
    private String drugCode;

    @TableField("DRUG_SPEC")
    private String drugSpec;

    @TableField("DRUG_NAME")
    private String drugName;

    @TableField("FIRM_ID")
    private String firmId;

    @TableField("PACKAGE_SPEC")
    private String packageSpec;

    @TableField("PACKAGE_UNITS")
    private String packageUnits;

    @TableField("QUANTITY")
    private BigDecimal quantity;

    @TableField("COSTS")
    private BigDecimal costs;

    @TableField("PAYMENTS")
    private BigDecimal payments;

    @TableField("ITEM_SUB_NO")
    private Integer itemSubNo;

    @TableField("UNITS")
    private String units;

    @TableField("PER_AMOUNT")
    private BigDecimal perAmount;

    @TableField("P_UNITS")
    private String pUnits;

    @TableField("FREQ_DETAIL")
    private String freqDetail;

    @TableField("DAYS")
    private Integer days;

    @TableField("NUMBERS")
    private Integer numbers;

    @TableField("N_UNITS")
    private String nUnits;

    @TableField("NUMBER_PER_PACKAGE")
    private BigDecimal numberPerPackage;

    @TableField("ADMINISTRATION")
    private String administration;

    @TableField("NOTES")
    private String notes;

    @TableField("BATCH_NO")
    private String batchNo;

    @TableField("INVENTORY")
    private BigDecimal inventory;

    @TableField("PURCHASE_PRICE")
    private BigDecimal purchasePrice;

    @TableField("RETAIL_PRICE")
    private BigDecimal retailPrice;

    @TableField("ROUND_AMT")
    private BigDecimal roundAmt;

    @TableField("PRESC_ARRY_NO")
    private String prescArryNo;

    @TableField("DECOCTING_METHOD")
    private String decoctingMethod;


}
